// Bootstrap
@import "~bootstrap-sass/assets/stylesheets/bootstrap";

$navbar-color: #3c3e42;

body {
    padding-top: 60px;
}

section {
    overflow: auto;
}

textarea {
    resize: vertical;
}

.jumbotron {
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1;
}

h1 {
    font-size: 3em;
    letter-spacing: -2px;
    margin-bottom: 30px;
    text-align: center;
}

h2 {
    font-size: 1.2em;
    letter-spacing: -1px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: normal;
    color: #777
}

p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.navbar-inverse {
    background-color: $navbar-color;
}

#logo {
    float:left;
    margin-right:10px;
    font-size:1.7em;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -1px;
    padding-top:9px;
    font-weight: bold;
    &:hover{
        color: #ffffff;
    }
}

#logout{
    cursor:default;
    &:hover{
        background-color: transparent;
    }
}

footer{
    margin-top:45px;
    padding-top:5px;
    border-top:1px solid #eaeaea;
    color:#777;

    a{
        color:#555;
    }

    a:hover{
        color:#222;
    }

    small{
        float:left;
    }

    ul{
        float:right;
        list-style:none;

        li{
            float:left;
            margin-left:15px;
        }
    }

    img.brand-icon{
        width:17px;
        height:17px;
    }

    .slogon{
        font-size:13px;
        font-weight:bold;
    }
}

/* sidebar */
aside{
    section{
        padding:10px 0;
        margin-top:20px;
        &:first-child{
            border: 0;
            padding-top:0;
        }
        span{
            display: block;
            margin-bottom:3px;
            line-height:1;
        }
    }
}
section.user_info{
    padding-bottom: 10px;
    margin-top:20px;
    text-align: center;
    .gravatar{
        float: none;
        max-width: 70px;
    }

    h1{
        font-size:1.4em;
        letter-spacing:-1px;
        margin-bottom:3px;
        margin-top:15px;
    }
}

.gravatar{
    float: left;
    margin-right:10px;
    max-width:50px;
    border-radius:50px;
}

/* forms */
input, textarea, select, .uneditable-input{
    border:1px solid #bbb;
    margin-bottom:15px;
}

input{
    height:auto !important;
}

.panel{
    margin-top:50px;
}

/* Users edit */
.gravatar_edit{
    margin:15px auto;
    text-align: center;
    .gravatar{
        float:none;
        max-width:100px;
    }
}

/* Users index */
.users{
    list-style:none;
    margin: 0;
    padding-left:0;
    li{
        overflow: auto;
        padding:10px 0;
        border-bottom:1px solid $gray-lighter;
    }
}


/* Users index */
.delete-btn{
    float: right;
    position: relative;
    right: 0;
}

/* statuses */
.statuses {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    li {
        padding: 10px 0;
        border-top: 1px solid #e8e8e8;
        position: relative;
    }

    .user {
        margin-top: 5em;
        padding-top: 0;
    }

    .content {
        display: block;
        margin-left: 60px;;
        word-break: break-word;
        img {
            display: block;
            padding:5px 0;
        }
    }

    .timestamp {
        color: $gray-light;
        display: block;
        margin-left:60px;
    }

    .gravatar {
        margin-right: 10px;
        margin-top:5px;
    }

    from{
        button.status-delete-btn {
            position: absolute;
            right:0;
            top:10px;
        }
    }
}

aside{
    textarea{
        height:100px;
        margin-bottom:5px;
    }
}

.status_form{
    margin-top: 20px;
}